<%@ include file="/common/taglibs.jsp"%>

<head>
<title><fmt:message key="log4jList.title" /></title>
<meta name="heading" content="<fmt:message key='log4jList.heading'/>" />
<meta name="menu" content="SysMenu" />
</head>

<body id="log4jList" />

<p><fmt:message key="log4jList.message" /></p>

<div class="separator"></div>

<input type="button" onclick="location.href='mainMenu'"
	value="<fmt:message key="button.back"/>" />
<display:table name="loggers" id="logger" cellspacing="0"
	cellpadding="0" defaultsort="1" class="table" pagesize="50"
	requestURI="">
	
	<display:column property="[0]" escapeXml="true" style="width: 30%"
		titleKey="log4j.package" />
	<display:column property="[1]" escapeXml="true" style="width: 30%"
		titleKey="log4j.level" />
	<display:column escapeXml="false" style="width: 30%">
		<!-- 如何用tag获得一个pageContext的变量 -->
		<s:form action="log4jList">
			<input type="hidden" name="loggerPackage" value="${logger[0]}" />
			<s:select list="logLevels" name="loggerLevel"></s:select>
			<input type="submit" title="<fmt:message key="button.log4j.submit"/>"/>
		</s:form>
	</display:column>

	<display:setProperty name="paging.banner.item_name" value="log4j" />
	<display:setProperty name="paging.banner.items_name" value="log4j" />
</display:table>